package com.cm.figure.model;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * ClassName:GetDate
 * Package:com.cm.figure.model.DataMap
 * Description:
 *
 * @Date:2021/8/15 20:36
 * @com.chuangmei
 */
public class GetDate {

    public static String getCurrentDate(String format) {

        return new SimpleDateFormat(format).format(new Date());

    }

}
